package com.ibeeking.found.msg.service.common.vo;

import com.ibeeking.found.common.enums.mp.WxMpSourceTypeEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName WxMpSourceDO
 * @Description
 * @Author ibeeking
 * @Date 2020-12-30 14:12
 **/
@Data
public class WxMpSourceVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 公众号id
     */
    private String appId;

    /**
     * 所属组
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long groupId;

    /**
     * 名称
     */
    private String name;

    /**
     * 资源类型
     */
    private String sourceType;

    /**
     * OSS地址
     */
    private String path;

    /**
     * 公众号media_id
     */
    private String mediaId;

    /**
     * 公众号素材地址
     */
    private String mediaUrl;

    /**
     * 备注
     */
    private String remark;

    private List<WxMpSourceDetailVO> sourceDetail;
}
